/*
 * @Author: duchengdong
 * @Date: 2021-12-21 16:39:07
 * @LastEditors: lizhen
 * @LastEditTime: 2021-12-23 18:04:17
 * @Description:
 */
import Vue from 'vue'
import App from './App'
import * as config from 'config/config'
import store from './store'
import uView from 'uview-ui'
import * as utils from 'utils/util'
import * as dates from 'utils/date'

// 如此配置即可
uni.$u.config.unit = 'rpx'

Vue.prototype.$date = dates
Vue.prototype.$utils = utils
Vue.prototype.$config = config
Vue.prototype.$store = store

Vue.use(uView)
App.mpType = 'app'

const app = new Vue({
	...App,
})
app.$mount()
